package com.fpf.springboot.domain;

import java.io.Serializable;

public class Result implements Serializable {
	private static final long serialVersionUID = -1616426041373762391L;
	/**
	 * 二维码使用状态
	 * 00未扫码
	 * 01扫码成功
	 * 02扫码失败
	 */
	private String state;
	/**
	 * 登录信息
	 */
	private String token;
	/**
	 * 用户ID
	 */
	private String userId;
	/**
	 * 扫码成功
	 * @Title:  Result   
	 * @Description:    TODO
	 * @param:  @param state
	 * @param:  @param token
	 * @param:  @param userId  
	 * @throws
	 */
	public Result(String state, String token, String userId) {
		this.state = state;
		this.token = token;
		this.userId = userId;
	}
	/**
	 * 登录失败
	 * @Title:  Result   
	 * @Description:    TODO
	 * @param:  @param state  
	 * @throws
	 */
	public Result(String state) {
		this.state = state;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	
}
